from flask import Blueprint,jsonify,make_response,request

user_app=Blueprint('user',__name__,url_prefix="/user")

@user_app.route('/wyk',methods=['get'])
def grt():
        return "就是福建客户"

@user_app.route('/oo',methods=['post'])
def ref():
        data=request.json
        name=data.get('name')
        return jsonify({
                'code':200,
                'msg':'添加成功',
                'data':name
        })